package sub

import "strings"

func RemoveTimeByStr(str string) []string {

	arr := Str2StrSlice(str)

	strs := RemoveTimeNow(arr)

	return strs
}
func RemoveTimeByStr2(str string) string {

	arr := Str2StrSlice(str)

	strs := RemoveTimeNow(arr)
	str2 := StrSlice2Str(strs)

	return str2
}
func Str2StrSlice(str string) []string {

	//字符串用换行符切分为字符串切片

	strs := strings.Split(str, "\n")

	return strs

}

func StrSlice2Str(strs []string) string {

	str := strings.Join(strs, "\n")
	return str
}
